#!/bin/bash

curl http://dpserver.a1.luyouxia.net:25332/api/chat -d '{
  "model": "deepseek-r1:32b",
  "stream": false,
  "keep_alive": -1,
  "format": {
    "properties": {
      "reason": {"type": "string"},
      "is_patient_finished_checkup_and_ready_to_go_back": {"type": "boolean"}
    },
    "required": ["reason", "is_patient_finished_checkup_and_ready_to_go_back"]
  },
  "options": {
    "temperature": 0.1,
    "top_p": 0.85,
    "max_tokens": 100
  },
  "messages": [
    {
      "role": "user",
      "content": "你是一名在医院帮助患者回到病房的机器人，这是患者对你说的话：“ 天气真好 ”，请判断患者是否已经体检完毕并想要回到病房。"
    }
  ]
}'
